// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import stores from './store/index'
import Loading from 'base/loading'
import cookie from './utils/cookies'
import http from './utils/http'

import fastclick from 'fastclick'


fastclick.attach(document.body)

Vue.use(Loading)
Vue.use(cookie)
Vue.use(http)


Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store:stores,
  components: { App },
  template: '<App/>'
})
